//index.js
//获取应用实例
const app = getApp()

Page({
  data: {
    showBgpack:false,
    showPhonepack:false,
  },

  bindViewTap(e){
    this.setData({ showBgpack:true})
  },
  emitMyevent(e){
  
   wx.showModal({
     title: '弹框提示',
     content: e.detail.userInfo.nickName,
     success(res) {
       if (res.confirm) {
        wx.navigateTo({
          url: '/pages/component/log/logs',
        })
       } 
     }
   })
  }
})
